VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Office.Spreadsheet.NumberFormats Namespace / CurrencyFormat Class / CurrencyFormat Constructors / CurrencyFormat Constructor(String,Int32,Boolean,String[])
Syntax Exceptions Requirements SeeAlso
In This Topic
    CurrencyFormat Constructor(String,Int32,Boolean,String[])
    In This Topic
    Initializes a new instance of the CurrencyFormat class.
    Syntax
    'Declaration
    
    Public Function New( _
    ByVal name
    Short description of a format.
    As System.String, _
    ByVal decimalPlaces
    Number of decimal places.
    As System.Int32, _
    ByVal currencySymbolFormats
    Currency symbol format and it's synonyms.
    As Boolean, _
    ByVal ParamArray isCurrencySymbolBeforeValue
    A value indicating whether currency symbol format must be written before number format.
    () As System.String _
    )
    public CurrencyFormat(
    System.String name,
    System.Int32 decimalPlaces,
    bool currencySymbolFormats,
    params System.String[] isCurrencySymbolBeforeValue
    )
    public: CurrencyFormat(
    System.String name,
    System.Int32 decimalPlaces,
    bool currencySymbolFormats,
    params System.String[]* isCurrencySymbolBeforeValue
    )
    public:
    CurrencyFormat(
    System.String name,
    System.Int32 decimalPlaces,
    bool currencySymbolFormats,
    ... array<System.String>^ isCurrencySymbolBeforeValue
    )

    Parameters

    name
    Short description of a format.
    decimalPlaces
    Number of decimal places.
    currencySymbolFormats
    Currency symbol format and it's synonyms.
    isCurrencySymbolBeforeValue
    A value indicating whether currency symbol format must be written before number format.
    Exceptions
    ExceptionDescription
    Thrown if currencySymbolFormats is null or empty.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also